package org.pidan.basic.designModel.factory.easyFactory;

/**
 * {@code @description}: 演示创建工厂的具体实例
 * {@code @author}: huangyuxin
 * {@code @date}: 2023-11-16
 */
public class Client {

    public static void main(String[] args) {
        JianDan lamborghini = CarFactory.createCar("兰博基尼");

        JianDan maserati = CarFactory.createCar("玛莎拉蒂");

        lamborghini.run();

        maserati.run();
    }
}
